package com.itlong.cloud.POJO.PO;

import com.itlong.cloud.annotation.ItlField;
import com.itlong.cloud.annotation.ItlTables;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <desc>
 *     项目地址实体类，项目的区域库
 * </desc>
 */
@Data
@NoArgsConstructor
@ItlTables("project_address")
@EqualsAndHashCode(callSuper = true)
public class ProjectDomainPO extends BasePO implements Serializable {
    @ItlField(value = "area_id",logicKey = "key")
    private String areaId;  //区域的逻辑ID
    @ItlField("area_name")
    private String areaName; //区域名称
    @ItlField("type")
    private Integer type; //类型，1-国家，2-省
    @ItlField("address_id")
    private String addressId; //地址节点ID（项目地址库中的逻辑ID）

}
